<?php
class Mageex_AdvanceSeo_Helper_ExistedData extends Mage_Core_Helper_Abstract
{
	protected $_storeId;
	
	public function __construct()
	{
		$this->_storeId = Mage::app()->getStore()->getId();
	}
	public function isEnable()
	{
		return Mage::getStoreConfig('mageex_advanceseo/rewritedata/enable', $this->_storeId);
	}
	public function isEnableRewriteUrl()
	{
		return Mage::getStoreConfig('mageex_advanceseo/rewritedata/data_url', $this->_storeId);
	}
	public function isEnableRewriteMeta()
	{
		return Mage::getStoreConfig('mageex_advanceseo/rewritedata/data_meta', $this->_storeId);
	}
	public function getNumberRecord()
	{
		return Mage::getStoreConfig('mageex_advanceseo/rewritedata/number_record', $this->_storeId);
	}
	public function getSelectDateFrom()
	{
		return Mage::getStoreConfig('mageex_advanceseo/rewritedata/selectdatefrom', $this->_storeId);
	}
	public function getDateFrom()
	{
		return Mage::getStoreConfig('mageex_advanceseo/rewritedata/processdatefrom', $this->_storeId);
	}
}